import axios from 'axios'
import { ref } from 'vue';

export default function GetBeauty(){
    const imgUrl = ref(0);
    const GetBeautyImg=async()=>{
        const result = await axios.get(`https://v.api.aa1.cn/api/pc-girl_bz/index.php?wpon=json`);
        imgUrl.value= result.data.img;
    }

    return {GetBeautyImg,imgUrl}
}